<% unless @user.current_sign_in_at.blank? %>
  <p>
    <a href="<%= ticket_url(@reply.ticket) %>#reply-<%= @reply.id %>" target="_blank">
      <%= t(:view_reply) %> &raquo;
    </a>
  </p>
<% end %>

<% if @reply.content_type == 'html' %>
  <% if @reply.is_a? SystemReply %>
    <%= render('/shared/content_for_system_reply', reply: @reply) %>
  <% else %>
    <%= sanitize_html(@reply.content) %>
  <% end %>
<% else %>
  <pre><%= word_wrap(@reply.content, line_width: 72) %></pre>
<% end %>
